{config_load file="$language/affiliate.conf" section="affiliate_payment"}
<div class="content-block">
	<div class="gray-title-top">
		<div class="b-left"></div>
			<span class="bold tsb">{#heading_title#}</span>
		<div class="b-right"></div>
	</div>
	<div class="con-cen">
		<div class="content-text">
			<div class="page-block">
	<span class="page-block-title">{$affiliate_payment_split_number}</span>
</div>

<table width="100%">
	<tr>
		<td class="aff-stat-td aff-stat-td-right"><b>{#table_heading_payment_id#}</b></td>
		<td class="aff-stat-td aff-stat-td-right"><b>{#table_heading_date#}</b></td>
		<td class="aff-stat-td aff-stat-td-right"><b>{#table_heading_payment#}</b></td>
		<td class="aff-stat-td"><b>{#table_heading_status#}</b></td>
	</tr>
	{if $affiliate_payment_table neq ''}
		{$affiliate_payment_table}
	{else}
	<tr>
		<td colspan="4" class="aff-stat-td">{#text_no_payments#}</td>
	</tr>
	{/if}
	<tr>
		<td class="aff-stat-td" colspan="4">
			<table border="0" width="100%" cellspacing="0" cellpadding="0">
				<tr>
					<td class="aff-stat-td">{$affiliate_payment_split_count}</td>
					<td class="aff-stat-td">{$affiliate_payment_links}</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td class="aff-stat-td" colspan="4"><b>{#text_information_payment_total#} {$affiliate_payment_total}</b></td>
	</tr>
</table>
		</div>
	</div>
	<div class="con-foo"><div class="sb-left"></div><div class="sb-right"></div></div>
</div>